package com.sjgs.gis.service.mapper;


import com.sjgs.gis.domain.*;
import com.sjgs.gis.service.dto.PluginDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity {@link Plugin} and its DTO {@link PluginDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface PluginMapper extends EntityMapper<PluginDTO, Plugin> {



    default Plugin fromId(Long id) {
        if (id == null) {
            return null;
        }
        Plugin plugin = new Plugin();
        plugin.setId(id);
        return plugin;
    }
}
